home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / comm / callbbs.zip / UNINSTAL.BAT < prev    next >
DOS Batch File  |  1995-10-02  |  2KB  |  105 lines

  1. @echo off
  2. rem  This is the "uninstaller" for EZ_Online (EZOL)
  3.  
  4. set drive=
  5. if %0==a:\uninstal goto drivea
  6. if %0==b:\uninstal goto driveb
  7. echo.
  8. echo.
  9. echo.
  10. echo.
  11. echo                 Sorry ... can't find %0
  12. echo.
  13. echo                 Please enter "a:\uninstal" (or "b:\uninstal")
  14. echo.
  15. echo.
  16. echo.
  17. pause
  18. goto done
  19.  
  20. :drivea
  21. set drive=a:
  22. %drive%
  23. goto drivefound
  24.  
  25. :driveb
  26. set drive=b:
  27. %drive%
  28. goto drivefound
  29.  
  30. :drivefound
  31. echo on
  32. prompt $e[44m
  33. prompt $p$g
  34. @echo off
  35.  
  36. cls
  37. echo.
  38. echo   EZ-Online                                                          u1
  39. echo  ───────────────────────────────────────────────────────────────────────
  40. echo.
  41. echo.
  42. echo                          -= EZ-Online Uninstal =-
  43. echo.
  44. echo.
  45. echo               Thank you for trying EZ-Online!
  46. echo.
  47. echo               This program will remove all the EZ-Online software
  48. echo               and text files from your hard drive.
  49. echo.
  50. echo               Do you really want to do that?  [Y/N]
  51. echo.
  52. echo.
  53. choice /n
  54. if errorlevel 1 if not errorlevel 2 goto uninstal
  55.  
  56.  
  57. cls
  58. echo.
  59. echo   EZ-Online                                                          u2
  60. echo  ───────────────────────────────────────────────────────────────────────
  61. echo.
  62. echo.
  63. echo               You can also manually remove all the EZ-Online!
  64. echo               files, if you wish.
  65. echo.
  66. echo               The file UNINSTAL.TXT, found on this disk, provides
  67. echo               instructions, with a list of the files that were
  68. echo               installed by EZ-Online!.
  69. echo.
  70. echo.
  71. pause
  72. goto done
  73.  
  74. :uninstal
  75. if exist c:\ezol\nul deltree /y c:\ezol
  76. if errorlevel 0 echo C:\EZOL and its subdirectories have been removed
  77. if exist c:\modem\nul deltree /y c:\modem
  78. if errorlevel 0 echo C:\MODEM and its subdirectories have been removed
  79. if exist c:\bcom.bat del c:\bcom.bat
  80. if errorlevel 0 echo C:\BCOM.BAT has been removed
  81. if exist c:\windows\bcom.grp del c:\windows\bcom.grp
  82. if errorlevel 0 echo C:\WINDOWS\BCOM.GRP has been removed
  83.  
  84. cls
  85. echo.
  86. echo   EZ-Online                                                          u3
  87. echo  ───────────────────────────────────────────────────────────────────────
  88. echo.
  89. echo.
  90. echo               The EZ-Online! files have now all been removed
  91. echo               from your hard drive.
  92. echo.
  93. echo.
  94. pause
  95.  
  96. :done
  97. echo on
  98. prompt $e[0m
  99. prompt $p$g
  100. @echo off
  101. cls
  102. c:
  103.  
  104. :end
  105.